package com.suep.course.dto;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.Size;
import lombok.Data;
@Data
public class addCourseRequestDto {
    @NotEmpty(message="编号不能为空")
    private Integer id;
    @NotEmpty(message="课程号不能为空")
    private String course_number;
    @NotEmpty(message="课程名不能为空")
    private String course_name;
    @NotEmpty(message="学分不能为空")
    private double credit;
    @NotEmpty(message="课时不能为空")
    private Integer class_hours;
}
